package com.ruoyi.mes.systembasic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品管理对象 smes_product
 *
 * @author simpsense
 * @date 2020-11-26
 */
public class SmesProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长列 */
    private Long rowId;

    /** 产品编号 */
    @Excel(name = "产品编号")
    private String productNo;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 快捷码 */
    @Excel(name = "快捷码")
    private String shortcutCode;

    /** 产品类别 */
    @Excel(name = "产品类别")
    private Long productCategoryId;

    public String getProductCategoryName() {
        return productCategoryName;
    }

    public void setProductCategoryName(String productCategoryName) {
        this.productCategoryName = productCategoryName;
    }

    /** 产品类别 */
    @Excel(name = "产品类别名")
    private String productCategoryName;

    /** 默认客户 */
    @Excel(name = "默认客户")
    private String customerNo;

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    /** 默认客户 */
    @Excel(name = "默认客户")
    private String customerName;
    /** 数量 */
    @Excel(name = "数量")
    private Long qty;

    /** 数量单位 */
    @Excel(name = "数量单位")
    private String qtyUnit;

    /** 重量 */
    @Excel(name = "重量")
    private Long weight;

    /** 重量单位 */
    @Excel(name = "重量单位")
    private String weightUnit;

    /** 产品规格1 */
    @Excel(name = "产品规格1")
    private String productSpec1;

    /** 产品规格2 */
    @Excel(name = "产品规格2")
    private String productSpec2;

    /** 产品规格3 */
    @Excel(name = "产品规格3")
    private String productSpec3;

    /** 产品规格4 */
    @Excel(name = "产品规格4")
    private String productSpec4;

    /** 产品厚度 */
    @Excel(name = "产品厚度")
    private String productThick;

    /** 产品整箱数量 */
    @Excel(name = "产品整箱数量")
    private Long qtyPerPkg;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String deleteFlag;



    public void setRowId(Long rowId)
    {
        this.rowId = rowId;
    }

    public Long getRowId()
    {
        return rowId;
    }
    public void setProductNo(String productNo)
    {
        this.productNo = productNo;
    }

    public String getProductNo()
    {
        return productNo;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setShortcutCode(String shortcutCode)
    {
        this.shortcutCode = shortcutCode;
    }

    public String getShortcutCode()
    {
        return shortcutCode;
    }
    public void setProductCategoryId(Long productCategoryId)
    {
        this.productCategoryId = productCategoryId;
    }

    public Long getProductCategoryId()
    {
        return productCategoryId;
    }
    public void setCustomerNo(String customerNo)
    {
        this.customerNo = customerNo;
    }

    public String getCustomerNo()
    {
        return customerNo;
    }
    public void setQty(Long qty)
    {
        this.qty = qty;
    }

    public Long getQty()
    {
        return qty;
    }
    public void setQtyUnit(String qtyUnit)
    {
        this.qtyUnit = qtyUnit;
    }

    public String getQtyUnit()
    {
        return qtyUnit;
    }
    public void setWeight(Long weight)
    {
        this.weight = weight;
    }

    public Long getWeight()
    {
        return weight;
    }
    public void setWeightUnit(String weightUnit)
    {
        this.weightUnit = weightUnit;
    }

    public String getWeightUnit()
    {
        return weightUnit;
    }
    public void setProductSpec1(String productSpec1)
    {
        this.productSpec1 = productSpec1;
    }

    public String getProductSpec1()
    {
        return productSpec1;
    }
    public void setProductSpec2(String productSpec2)
    {
        this.productSpec2 = productSpec2;
    }

    public String getProductSpec2()
    {
        return productSpec2;
    }
    public void setProductSpec3(String productSpec3)
    {
        this.productSpec3 = productSpec3;
    }

    public String getProductSpec3()
    {
        return productSpec3;
    }
    public void setProductSpec4(String productSpec4)
    {
        this.productSpec4 = productSpec4;
    }

    public String getProductSpec4()
    {
        return productSpec4;
    }
    public void setProductThick(String productThick)
    {
        this.productThick = productThick;
    }

    public String getProductThick()
    {
        return productThick;
    }
    public void setQtyPerPkg(Long qtyPerPkg)
    {
        this.qtyPerPkg = qtyPerPkg;
    }

    public Long getQtyPerPkg()
    {
        return qtyPerPkg;
    }
    public void setDeleteFlag(String deleteFlag)
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag()
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("rowId", getRowId())
                .append("productNo", getProductNo())
                .append("productName", getProductName())
                .append("shortcutCode", getShortcutCode())
                .append("productCategoryId", getProductCategoryId())
                .append("customerNo", getCustomerNo())
                .append("qty", getQty())
                .append("qtyUnit", getQtyUnit())
                .append("weight", getWeight())
                .append("weightUnit", getWeightUnit())
                .append("productSpec1", getProductSpec1())
                .append("productSpec2", getProductSpec2())
                .append("productSpec3", getProductSpec3())
                .append("productSpec4", getProductSpec4())
                .append("productThick", getProductThick())
                .append("qtyPerPkg", getQtyPerPkg())
                .append("deleteFlag", getDeleteFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}